package cn.stylefeng.guns.modular.gridsystem.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.gridsystem.entity.GatewayFirmware;
import cn.stylefeng.guns.modular.gridsystem.model.param.GatewayFirmwareParam;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 网关固件表 服务类
 *
 * @author 乔李莱莱
 * @since 2023/10/17
 */
public interface GatewayFirmwareService extends IService<GatewayFirmware> {

    /**
     * 分页查询网关固件表
     *
     * @param gatewayFirmwareParam 查询参数
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    PageResult<GatewayFirmware> page(GatewayFirmwareParam gatewayFirmwareParam);

    /**
     * 添加网关固件表
     *
     * @param gatewayFirmwareParam 查询参数
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    void add(GatewayFirmwareParam gatewayFirmwareParam);

    /**
     * 删除网关固件表
     *
     * @param gatewayFirmwareParam 查询参数
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    void delete(GatewayFirmwareParam gatewayFirmwareParam);

    /**
     * 编辑网关固件表
     *
     * @param gatewayFirmwareParam 查询参数
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    void edit(GatewayFirmwareParam gatewayFirmwareParam);

    /**
     * 查看详情网关固件表
     *
     * @param gatewayFirmwareParam 查询参数
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    GatewayFirmware detail(GatewayFirmwareParam gatewayFirmwareParam);

}
